package com.ddc.api;

import com.ddc.api.param.finance.FinanceIncomeParam;
import com.wang.commons.result.Result;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

@ApiModel("财务流水接口")
public interface FinanceApi {

    //收入流水账单
    //传入收入金额、公司名称、贷款id、费率
    @ApiOperation("收入流水的接口")
    @PostMapping("income")
    public Result inCome(@RequestBody FinanceIncomeParam  fip );


    //支出流水账单
    @PostMapping("outLay")
    @ApiOperation("支出流水")
    public Result outLay();

}
